package tests;

import xaj.scc.visit.Visitor_Giorgio_01;

public class SCParserTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//Lista de argumentos passada para o compilador scc (Syntax Class Compiler)
		String arg[] = new String[6];
		
		//Parâmetro -sourceroots (Pasta onde os syntax class estarão)
		arg[0] = "-sourceroots";
//		arg[1] = "tests/src_syntaxclass";
		args[1] = "tests/src_puiatti";
		
		arg[2] = "-d";
		arg[3] = "output";
		
		arg[4] = "-ext";
		arg[5] = "xaj.scc";
		
		//arg[6] = "-print";
		//arg[7] = "PARSE";
		
		Visitor_Giorgio_01.init();
		abc.main.Main.main(arg);
		Visitor_Giorgio_01.end();

		abc.main.Main.resetStatic();
		
		System.out.println("Executou o Syntax Class Compiler");

	}

}
